package com.sdehualu.yinfo.service;


import com.sdehualu.yinfo.entity.KkxxKey;
import com.sdehualu.yinfo.entity.KkxxUser;
import com.sdehualu.yinfo.entity.SxxxKey;
import com.sdehualu.yinfo.entity.SxxxUser;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface UserService {


    boolean isExist(String kkxxKey);

    String addkkxxinfo(KkxxUser kkxxu);

    String delkkxxinfo(String kkxxKey);

    List<KkxxUser> selallinfo();

    KkxxUser selinfobk(String kkxxKey);

    Page<KkxxUser> findByAnyone(Integer pageNumber, Integer pageSize, String sortProperty,
                                     String sortDirection, Map<String, String> searchParams);


    Page<KkxxUser> findByAnyonejz(Integer pageNumber, Integer pageSize, String sortProperty,
                                String sortDirection, Map<String, String> searchParams);


    String updinfo(KkxxUser kkxxu);



    boolean isExtsx(String sxxxKey);

    String addsxxxinfo(SxxxUser sxxxUser);

    String delsxxxinfo(String sxxxKey);

    List<SxxxUser> selallsxinfo();

    SxxxUser selinfosxbk(String sxxxKey);

    Page<SxxxUser> findsxByAnyone(Integer pageNumber, Integer pageSize, String sortProperty,
                                String sortDirection, Map<String, String> searchParams);


    Page<SxxxUser> findsxByAnyonejz(Integer pageNumber, Integer pageSize, String sortProperty,
                                  String sortDirection, Map<String, String> searchParams);

    String updsxinfo(SxxxUser sxxxUser);




}
